﻿using System;

namespace PARK.Accessctl.Entitys.Dto.AccessCtl
{
    /// <summary>
    /// 门禁设备输入参数
    /// </summary>
    public class AccessCtlListOutput
    {
        /// <summary>
        /// 门Id
        /// </summary>
        public string ctlId { get; set; }
        /// <summary>
        /// 控制器名称
        /// </summary>
        public string ctlName { get; set; }
        /// <summary>
        /// 控制器SN
        /// </summary>
        public string ctlSn { get; set; }
        /// <summary>
        /// 门数量
        /// </summary>
        public string ctlDoors { get; set; }
        /// <summary>
        /// 所在区域
        /// </summary>
        public string doorAreaId { get; set; }
        /// <summary>
        /// 所在区域名称
        /// </summary>
        public string doorAreaName { get; set; }        
        /// <summary>
        /// 所在位置
        /// </summary>
        public string ctlposition { get; set; }        
        /// <summary>
        /// 物联卡号
        /// </summary>
        public string ioTcardNo { get; set; }        
        /// <summary>
        /// 到期截止日
        /// </summary>
        public DateTime? ioTcardvalidity { get; set; }        
        /// <summary>
        /// 启用
        /// </summary>
        public int? enabledMark { get; set; }        
        /// <summary>
        /// 说明
        /// </summary>
        public string description { get; set; }
        /// <summary>
        /// 是否在线 1是 0否
        /// </summary>
        public int? isOnline { get; set; }
        /// <summary>
        /// 最后在线时间
        /// </summary>
        public DateTime? lastOnLineTime { get; set; }
        /// <summary>
        /// 同步时钟 0否 1已同步
        /// </summary>
        public int? isSyntime { get; set; }
        /// <summary>
        /// 最后同步时钟时间
        /// </summary>
        public DateTime? lastSyntime { get; set; }

        /// <summary>
        /// 所属公司Id
        /// </summary>
        public string CompanyId { get; set; }

        /// <summary>
        /// 所属公司名称
        /// </summary>
        public string CompanyName { get; set; }

        /// <summary>
        /// 可用于考勤
        /// </summary>
        public int isAtt { get; set; }
        /// <summary>
        /// 同步状态
        /// </summary>
        public int createSync { get; set; }
    }
}
